﻿<%@ Page Language="C#" MasterPageFile="~/franchise/FranchiseMasterPage.Master" AutoEventWireup="true" CodeBehind="faq.aspx.cs" Inherits="Com.Web.coffinegurunaru.franchise.faq" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
<script language="javascript" type="text/javascript">
$(document).ready(function() {
	$("tr.answer:eq(0)").show();
});
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="33">&nbsp;</td>
          </tr>
          <tr>
            <td><img src="/images/franchise/tit_04.gif" width="370" height="49"></td>
          </tr>
          <tr>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td><img src="/images/franchise/img_04.jpg" width="627" height="111"></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td align="center"><table border='1' class="faqlist" cellpadding='0' cellspacing='0' width='96%' style='border-collapse:collapse' bordercolor='#dedede' frame='void'>
              <tr>
                <td height='1' bgcolor='#dedede'></td>
              </tr>
<%	foreach(Com.Library.DB.Board.ArticleEntity item in List) { %>
              <tr onclick="$('tr.answer').hide(); $('tr.answer<%= item.n4ArticleSN %>').show(); return false;" style="cursor:pointer">
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="30" align="center"><img src="/images/franchise/icon_q.gif" width="14" height="17"></td>
                    <td width="10">&nbsp;</td>
                    <td><a href="#"><%= item.strTitle %></a></td>
                  </tr>
                </table></td>
              </tr>
              <tr style="display:none;cursor:pointer;" class="answer answer<%= item.n4ArticleSN %>" onclick="$('tr.answer<%= item.n4ArticleSN %>').hide(); return false;">
                <td height="32" bgcolor="#f5f5f5"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="30" height="25" align="center" valign="bottom"><img src="/images/franchise/icon_a.gif" width="14" height="17"></td>
                    <td width="30">&nbsp;</td>
                    <td><a href="#"></a></td>
                  </tr>
                  <tr>
                    <td align="center">&nbsp;</td>
                    <td>&nbsp;</td>
                    <td><a href="#"><%= Server.HtmlEncode(item.strContent).Replace("\n", "<br/>") %></a></td>
                  </tr>
                  <tr>
                    <td align="center">&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                </table></td>
              </tr>
<%	} %>

              <tr>
                <td height='2' bgcolor='#dedede'></td>
              </tr>
            </table></td>
          </tr>
        </table>


</asp:Content>
